<template>

  <div class="container" >
      <div class="bubbles">
          <span style="--i:11"></span>
          <span style="--i:12"></span>
          <span style="--i:24"></span>
          <span style="--i:10"></span>
          <span style="--i:14"></span>
          <span style="--i:23"></span>
          <span style="--i:18"></span>
          <span style="--i:16"></span>
          <span style="--i:19"></span>
          <span style="--i:20"></span>
          <span style="--i:22"></span>
          <span style="--i:25"></span>
          <span style="--i:18"></span>
          <span style="--i:21"></span>
          <span style="--i:15"></span>
          <span style="--i:13"></span>
          <span style="--i:26"></span>
          <span style="--i:17"></span>
          <span style="--i:13"></span>
          <span style="--i:28"></span>
          <span style="--i:11"></span>
          <span style="--i:12"></span>
          <span style="--i:24"></span>
          <span style="--i:10"></span>
          <span style="--i:14"></span>
          <span style="--i:23"></span>
          <span style="--i:18"></span>
          <span style="--i:16"></span>
          <span style="--i:19"></span>
          <span style="--i:20"></span>
          <span style="--i:22"></span>
          <span style="--i:25"></span>
          <span style="--i:18"></span>
          <span style="--i:21"></span>
          <span style="--i:15"></span>
          <span style="--i:13"></span>
          <span style="--i:26"></span>
          <span style="--i:17"></span>
          <span style="--i:13"></span>
          <span style="--i:28"></span>
          <span style="--i:18"></span>
          <span style="--i:16"></span>
          <span style="--i:19"></span>
          <span style="--i:20"></span>
          <span style="--i:22"></span>
          <span style="--i:25"></span>
          <span style="--i:18"></span>
          <span style="--i:21"></span>
          <span style="--i:15"></span>
          <span style="--i:13"></span>
          <span style="--i:26"></span>
          <span style="--i:17"></span>
          <span style="--i:13"></span>
          <span style="--i:28"></span>

      </div>

  </div>
</template>

<script>
export default {
    name: "FireflyLightEffect"
}
</script>

<style scoped>
  *{
      margin: 0;
      padding: 0;
      box-sizing: border-box;
  }
  /*.container{*/
  /*    position: absolute;*/
  /*    top: 0;*/
  /*    bottom: 0;*/
  /*    width: 100%;*/
  /*    height: 100rem;*/
  /*    overflow: hidden;*/
  /*}*/
  /*.bubbles{*/
  /*    position: absolute;*/
  /*    display: flex;*/
  /*}*/
  .bubbles span{
      z-index: 99999;
      position: absolute;
      width: 10px;
      height: 10px;
      background: #FAF9DE;
      margin: 0 2rem;
      border-radius: 50%;
      box-shadow: 0 0 0 5px #4fc3dc44,
        0 0 50px #FAF9DE,
        0 0 100px #FAF9DE;
      animation: animate 15s linear infinite;
      animation-duration: calc(125s / var(--i));
      opacity: .5;
  }
  .bubbles span:nth-child(even){
      background: #e13232;
      box-shadow: 0 0 0 5px #734752,
      0 0 5px #e13232,
      0 0 10px #e13232;
      opacity: .5;
  }
  @keyframes animate {
      0%{
          transform: translateY(100vh) scale(0);
      }
      100%{
          transform: translateY(-5vh) scale(1);
      }
  }
</style>